/**********************************************************************************************************************
 *  COPYRIGHT
 *  -------------------------------------------------------------------------------------------------------------------
 *
 *                This software is copyright protected and proprietary to Vector Informatik GmbH.
 *                Vector Informatik GmbH grants to you only those rights as set out in the license conditions.
 *                All other rights remain with Vector Informatik GmbH.
 *  -------------------------------------------------------------------------------------------------------------------
 *  FILE DESCRIPTION
 *  -------------------------------------------------------------------------------------------------------------------
 *          File:  Rte_CtApTempSensor.h
 *        Config:  D:/Projects/Amp/03_Software/SIP_S32K14X/Application/SipAddon/S32K144_Handle_DEMO/S32K144_Start.dpa
 *     SW-C Type:  CtApTempSensor
 *  Generated at:  Thu Apr 25 17:23:00 2024
 *
 *     Generator:  MICROSAR RTE Generator Version 4.19.0
 *                 RTE Core Version 1.19.0
 *       License:  CBD1800257
 *
 *   Description:  Application header file for SW-C <CtApTempSensor> (Contract Phase)
 *********************************************************************************************************************/

/* double include prevention */
#ifndef _RTE_CTAPTEMPSENSOR_H
# define _RTE_CTAPTEMPSENSOR_H

# ifdef RTE_APPLICATION_HEADER_FILE
#  error Multiple application header files included.
# endif
# define RTE_APPLICATION_HEADER_FILE
# ifndef RTE_PTR2ARRAYBASETYPE_PASSING
#  define RTE_PTR2ARRAYBASETYPE_PASSING
# endif

# ifdef __cplusplus
extern "C"
{
# endif /* __cplusplus */

/* include files */

# include "Rte_CtApTempSensor_Type.h"
# include "Rte_DataHandleType.h"


/**********************************************************************************************************************
 * Component Data Structures and Port Data Structures
 *********************************************************************************************************************/

struct Rte_CDS_CtApTempSensor
{
  /* dummy entry */
  uint8 _dummy;
};

# define RTE_START_SEC_CONST_UNSPECIFIED
# include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

extern CONSTP2CONST(struct Rte_CDS_CtApTempSensor, RTE_CONST, RTE_CONST) Rte_Inst_CtApTempSensor; /* PRQA S 0850 */ /* MD_MSR_19.8 */

# define RTE_STOP_SEC_CONST_UNSPECIFIED
# include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

typedef P2CONST(struct Rte_CDS_CtApTempSensor, TYPEDEF, RTE_CONST) Rte_Instance;


/**********************************************************************************************************************
 * Init Values for unqueued S/R communication (primitive types only)
 *********************************************************************************************************************/

# define Rte_InitValue_AMP_GetTempInfoReq_GetTempInfoReq (FALSE)


# define RTE_START_SEC_CODE
# include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

/**********************************************************************************************************************
 * API prototypes
 *********************************************************************************************************************/
FUNC(Std_ReturnType, RTE_CODE) Rte_Read_CtApTempSensor_AMP_GetTempInfoReq_GetTempInfoReq(P2VAR(IdtCanAdaptorGetTempInfoReq, AUTOMATIC, RTE_CTAPTEMPSENSOR_APPL_VAR) data); /* PRQA S 0850 */ /* MD_MSR_19.8 */
FUNC(Std_ReturnType, RTE_CODE) Rte_Call_CtApTempSensor_PpCanAdaptorSendSignal_SetTempSts(IdtCanAdaptorTempSts TempSts); /* PRQA S 0850 */ /* MD_MSR_19.8 */
FUNC(Std_ReturnType, RTE_CODE) Rte_Call_CtApTempSensor_PpCanAdaptorSendSignal_SetTempValue(IdtCanAdaptorTempValue TempValue); /* PRQA S 0850 */ /* MD_MSR_19.8 */

# define RTE_STOP_SEC_CODE
# include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */



/**********************************************************************************************************************
 * Rte_Read_<p>_<d> (explicit S/R communication with isQueued = false)
 *********************************************************************************************************************/
# define Rte_Read_AMP_GetTempInfoReq_GetTempInfoReq Rte_Read_CtApTempSensor_AMP_GetTempInfoReq_GetTempInfoReq


/**********************************************************************************************************************
 * Rte_Call_<p>_<o> (C/S invocation)
 *********************************************************************************************************************/
# define Rte_Call_PpCanAdaptorSendSignal_SetTempSts Rte_Call_CtApTempSensor_PpCanAdaptorSendSignal_SetTempSts
# define Rte_Call_PpCanAdaptorSendSignal_SetTempValue Rte_Call_CtApTempSensor_PpCanAdaptorSendSignal_SetTempValue




# define CtApTempSensor_START_SEC_CODE
# include "CtApTempSensor_MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */


/**********************************************************************************************************************
 *
 * Runnable Entity Name: RE_TempSensor_Init
 *
 *---------------------------------------------------------------------------------------------------------------------
 *
 * Executed once after the RTE is started
 *
 *********************************************************************************************************************/

# define RTE_RUNNABLE_RE_TempSensor_Init TempSensor_Init
FUNC(void, CtApTempSensor_CODE) TempSensor_Init(void); /* PRQA S 0850 */ /* MD_MSR_19.8 */

/**********************************************************************************************************************
 *
 * Runnable Entity Name: RE_TempSensor_ProcInfoReq
 *
 *---------------------------------------------------------------------------------------------------------------------
 *
 * Executed if at least one of the following trigger conditions occurred:
 *   - triggered on DataReceivedEvent for DataElementPrototype <GetTempInfoReq> of PortPrototype <AMP_GetTempInfoReq>
 *
 **********************************************************************************************************************
 *
 * Input Interfaces:
 * =================
 *   Explicit S/R API:
 *   -----------------
 *   Std_ReturnType Rte_Read_AMP_GetTempInfoReq_GetTempInfoReq(IdtCanAdaptorGetTempInfoReq *data)
 *
 * Client/Server Interfaces:
 * =========================
 *   Server Invocation:
 *   ------------------
 *   Std_ReturnType Rte_Call_PpCanAdaptorSendSignal_SetTempSts(IdtCanAdaptorTempSts TempSts)
 *     Synchronous Server Invocation. Timeout: None
 *   Std_ReturnType Rte_Call_PpCanAdaptorSendSignal_SetTempValue(IdtCanAdaptorTempValue TempValue)
 *     Synchronous Server Invocation. Timeout: None
 *
 *********************************************************************************************************************/

# define RTE_RUNNABLE_RE_TempSensor_ProcInfoReq TempSensor_ProcInfoReq
FUNC(void, CtApTempSensor_CODE) TempSensor_ProcInfoReq(void); /* PRQA S 0850 */ /* MD_MSR_19.8 */

# define CtApTempSensor_STOP_SEC_CODE
# include "CtApTempSensor_MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

# ifdef __cplusplus
} /* extern "C" */
# endif /* __cplusplus */

#endif /* _RTE_CTAPTEMPSENSOR_H */
